package org.springboot.base.demo.service;

import java.util.List;

import org.springboot.base.user.does.UserDO;

/**
 * TODO
 * @author ZJL
 * @dateTime 2019-02-18 下午9:18:28
 *  
 */

public interface RedisService {
	UserDO getUser(Long userId);
	UserDO getUser(String userName);
	List<UserDO> listUser();
	List<UserDO> listUser(UserDO user);
	UserDO addUser(UserDO user);
	UserDO updateUser(UserDO user);
	int deleteUser(Long userId);
}
